package com.permission.service;

import com.permission.param.AddAclParam;
import com.permission.param.ReviseAclParam;
import com.permission.vo.SysAclVo;

import java.util.List;

/**
 * Created by Administrator on 2018/4/15
 */
public interface SysAclService {

    /**
     * 查询所有权限
     * @return List<SysAclVo>
     */
    List<SysAclVo> all();

    /**
     * 增加权限
     * @param addAclParam addAclParam
     */
    void add(AddAclParam addAclParam);

    /**
     * 修改权限
     * @param reviseAclParam reviseAclParam
     */
    void update(ReviseAclParam reviseAclParam);

    /**
     * 删除权限
     * @param aclId aclId
     * @return int
     */
    int delete(Integer aclId);
}
